import {createApp,ref} from "./vue.esm.js"
const app = createApp({
    setup() {
        let show=ref(false)
        let members=ref([{id:1,name:"孔",age:19},
                {id:2,name:"王",age:20},
                {id:3,name:"章",age:19},
                {id:4,name:"徐",age:19},
                {id:5,name:"柳",age:19},
                {id:6,name:"吴",age:19}
            ]);
            function showMe(){
                members.value=[{id:3,name:"Voldy",age:19}]
            }
            return{
                show,
                members,
                showMe
            }
    }
   
   }).mount("#app")